package src.string;

public class StringBuilderDemo5 {
    public static void main(String[] args) {
        String str = "a";
        StringBuilder builder = new StringBuilder(str);
        for(int i=0;i<10000000;i++){
            builder.append("a");//str+="a";
        }

        System.out.println("执行完毕了!");
    }
}
